package com.xzy.domain.dto;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * 说明：
 *
 * @author xzy
 * @date 2021/11/14 19:52
 */
@Slf4j
@AllArgsConstructor
public class UserDTO {
    private String username;
    private String password;
    private String sex;

    public UserDTO() {
        log.info("UserDTO()");
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
        log.info("setUsername(String username)");
    }

    public String getPassword() {
        return password;

    }

    public void setPassword(String password) {
        this.password = password;
        log.info("setPassword(String password)");
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
        log.info("setSex(String sex)");
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
